finalize

suspend fun finalize(password: String): BackupExportResult

Persists all the data into a single backup file, returning a BackupExportResult. This method should be called after all the data was added.

Parameters

password

optional password for the encryption. Can be an empty string, to export an unencrypted backup.